import request from '@/util/request.js';

/**
 * @description 根据名称获取配置
 * @param {Object} data
 */
export function getCategory(data){
	return request({
		url:'/getCategory',
		method:'GET',
		data
	})
}

/**
 * @description 根据名称获取多个配置
 * @param {Object} data
 */
export function getCategoryMultiple(data){
	return request({
		url:'/getCategoryMultiple',
		method:'POST',
		data
	})
}
/**
 * @description 获取零活类型树
 */
export function getWorkType(){
	return request({
		url:'/getWorkType',
		method:'GET',
	})
}
/**
 * @description 获取零工计价方式
 */
export function getValuationBasis(){
	return request({
		url:'/getValuationBasis',
		method:'GET'
	})
}
/**
 * @description 获取人力资源公司
 */
export function getDepartmentBasis(){
	return request({
		url:'/departmentList',
		method:'GET'
	})
}
/**
 * @description 获取轮播图列表
 */
export function getSwiperList(){
	return request({
		url:'/getSwiperList',
		method:'GET'
	})
}